<div id="member-recent-nav">
  <ul class="nav">
    <li class="nav-item">
      <a class="nav-link" href="javascript:;" data-tab="threads" [ngClass]="{'active': recentCategory === 'threads'}">发布的话题</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="javascript:;" data-tab="reply" [ngClass]="{'active': recentCategory === 'reply'}">回复的话题</a>
    </li>
  </ul>
</div>
<div class="topic_box">
  <div *ngIf="recentThreads.length ===0"><h6 class="no-record-tip">暂未存在记录</h6></div>
  <div class="embed_topic_item main-color" *ngFor="let item of recentThreads">
    <div class="embed_topic_item_head">
      <div class="topic_item_avatar">
        <a [routerLink]="['/member', item.threadsVo.member]" title="{{item.threadsVo.nickname}}">
          <app-member-avatar [uid]="item.threadsVo.member"></app-member-avatar>
        </a>
      </div>
      <div class="topic_item_author">
        <h6><a [routerLink]="['/member', item.threadsVo.member]" title="会员主页">{{item.threadsVo.nickname}}</a></h6>
        <p>{{item.threadsVo.entryDateTime | amTimeAgo}}&nbsp;&nbsp;&#187;&nbsp;&nbsp;<a [routerLink]="item.boardVo.link">{{item.boardVo.title}}</a></p>
      </div>
    </div>
    <div class="embed_topic_item_body">
      <a [routerLink]="item.threadsVo.link" class="topic_item_title recent-item-title">{{item.threadsVo.title}}</a>
    </div>
    <div class="embed_topic_item_foot"></div>
  </div>
</div>
